﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="SinsenWeb.Views.Members.List" %>
<%@ Import Namespace="SinsenWeb.Controllers"%>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<h2>Medlemmer</h2>
<% foreach (var group in MemberGroups)
   { %>
    <div class="instrument_group">
        <h2><%= H(group.Key.Name) %></h2>
        <br />
        <% foreach (var member in group.Value)
           { %>
            <div class="member">
                <a href='<%= Url.Action("Show",new{member.Id}) %>'>
                    <img src="/Content/Images/noperson.jpg" height="126" width="170" alt='<%=H(member.FullName) %>' />
                </a>
                <br />
                <a href='<%= Url.Action("Show",new{member.Id}) %>'>
                    <%= H(member.FullName) %>
                </a>
                
            </div>
        <% } %>
    </div>


<%} %>
</asp:Content>
